

#import <UIKit/UIKit.h>

@interface SheerScrollView : UIView<UIScrollViewDelegate>

/******       &< Sheer Carousel figure>&       ******/

@property (nonatomic, retain, readonly) UIPageControl *pageControl;

@property (nonatomic, retain) UIScrollView *scrollView;

/*
 * 初始化
 * @param frame              frame
 * @param animationDuration  自动滚动的时间间隔  如果<=0 则不自动滚动
 *
 * @return instance
 */
- (id)initWithFrame:(CGRect)frame animationDuration:(NSTimeInterval)animationDuration;

// 数据源: 获取总的page数
@property (nonatomic, copy)NSInteger (^totalPagesCount)(void);

// 数据源: 获取第pageIndex个位置的contentView
@property (nonatomic, copy)UIView *(^fetchContentViewAtIndex)(NSInteger pageIndex);

// 点击 执行的Block
@property (nonatomic, copy)void (^TapActionBlock)(NSInteger pageIndex);



@end
